﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ServiceEdit.ascx.cs" Inherits="Controls_AdminControls_ServiceEdit" %>
<table class="edit_content">
    <tr>
        <td class="label">Послуга
        </td>
        <td class="edit" colspan="3">
            <dx:ASPxTextBox ID="txtName" runat="server" SkinID="Required" MaxLength="256">
                <ValidationSettings ValidationGroup="vgSave">
                    <RequiredField ErrorText="Вкажіть назву послуги" />
                </ValidationSettings>
            </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td class="label">Група послуг
        </td>
        <td class="edit">
            <dx:ASPxComboBox ID="ddlServiceGroup" runat="server" SkinID="Required">
                <ValidationSettings ValidationGroup="vgSave">
                    <RequiredField ErrorText="Оберіть групу послуг" />
                </ValidationSettings>
            </dx:ASPxComboBox>
        </td>
    </tr>
    <tr>
        <td class="label">Головний блок
        </td>
        <td class="edit">
            <dx:ASPxComboBox ID="ddlDisplayOption" runat="server" SkinID="Required">
                <ValidationSettings ValidationGroup="vgSave">
                    <RequiredField ErrorText="Оберіть тип відображення" />
                </ValidationSettings>
            </dx:ASPxComboBox>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <div class="grouped">
                <div class="title">
                    Зміст послуги
                </div>
                <dx:ASPxHtmlEditor ID="txtDescription" runat="server" Width="100%">
                    <Toolbars>
                        <dx:HtmlEditorToolbar Name="StandardToolbar1">
                            <Items>
                                <dx:ToolbarCutButton>
                                </dx:ToolbarCutButton>
                                <dx:ToolbarCopyButton>
                                </dx:ToolbarCopyButton>
                                <dx:ToolbarPasteButton>
                                </dx:ToolbarPasteButton>
                                <dx:ToolbarPasteFromWordButton>
                                </dx:ToolbarPasteFromWordButton>
                                <dx:ToolbarUndoButton BeginGroup="True">
                                </dx:ToolbarUndoButton>
                                <dx:ToolbarRedoButton>
                                </dx:ToolbarRedoButton>
                                <dx:ToolbarRemoveFormatButton BeginGroup="True">
                                </dx:ToolbarRemoveFormatButton>
                                <dx:ToolbarTableOperationsDropDownButton BeginGroup="True">
                                    <Items>
                                        <dx:ToolbarInsertTableDialogButton BeginGroup="True">
                                        </dx:ToolbarInsertTableDialogButton>
                                        <dx:ToolbarTablePropertiesDialogButton BeginGroup="True">
                                        </dx:ToolbarTablePropertiesDialogButton>
                                        <dx:ToolbarTableRowPropertiesDialogButton>
                                        </dx:ToolbarTableRowPropertiesDialogButton>
                                        <dx:ToolbarTableColumnPropertiesDialogButton>
                                        </dx:ToolbarTableColumnPropertiesDialogButton>
                                        <dx:ToolbarTableCellPropertiesDialogButton>
                                        </dx:ToolbarTableCellPropertiesDialogButton>
                                        <dx:ToolbarInsertTableRowAboveButton BeginGroup="True">
                                        </dx:ToolbarInsertTableRowAboveButton>
                                        <dx:ToolbarInsertTableRowBelowButton>
                                        </dx:ToolbarInsertTableRowBelowButton>
                                        <dx:ToolbarInsertTableColumnToLeftButton>
                                        </dx:ToolbarInsertTableColumnToLeftButton>
                                        <dx:ToolbarInsertTableColumnToRightButton>
                                        </dx:ToolbarInsertTableColumnToRightButton>
                                        <dx:ToolbarSplitTableCellHorizontallyButton BeginGroup="True">
                                        </dx:ToolbarSplitTableCellHorizontallyButton>
                                        <dx:ToolbarSplitTableCellVerticallyButton>
                                        </dx:ToolbarSplitTableCellVerticallyButton>
                                        <dx:ToolbarMergeTableCellRightButton>
                                        </dx:ToolbarMergeTableCellRightButton>
                                        <dx:ToolbarMergeTableCellDownButton>
                                        </dx:ToolbarMergeTableCellDownButton>
                                        <dx:ToolbarDeleteTableButton BeginGroup="True">
                                        </dx:ToolbarDeleteTableButton>
                                        <dx:ToolbarDeleteTableRowButton>
                                        </dx:ToolbarDeleteTableRowButton>
                                        <dx:ToolbarDeleteTableColumnButton>
                                        </dx:ToolbarDeleteTableColumnButton>
                                    </Items>
                                </dx:ToolbarTableOperationsDropDownButton>
                                <dx:ToolbarBoldButton BeginGroup="True">
                                </dx:ToolbarBoldButton>
                                <dx:ToolbarItalicButton>
                                </dx:ToolbarItalicButton>
                                <dx:ToolbarUnderlineButton>
                                </dx:ToolbarUnderlineButton>
                                <dx:ToolbarStrikethroughButton>
                                </dx:ToolbarStrikethroughButton>
                                <dx:ToolbarJustifyLeftButton BeginGroup="True">
                                </dx:ToolbarJustifyLeftButton>
                                <dx:ToolbarJustifyCenterButton>
                                </dx:ToolbarJustifyCenterButton>
                                <dx:ToolbarJustifyRightButton>
                                </dx:ToolbarJustifyRightButton>
                            </Items>
                        </dx:HtmlEditorToolbar>
                    </Toolbars>
                    <Settings AllowHtmlView="false" />
                    <SettingsResize AllowResize="true" MinWidth="994" MaxWidth="994" MinHeight="350" />
                </dx:ASPxHtmlEditor>
            </div>
        </td>
    </tr>
    <tr>
        <td colspan="2">

            <div class="button">
                <dx:ASPxButton ID="btnOk" runat="server" Text="Зберегти" SkinID="Blue" />
            </div>
            <div class="button">
                <dx:ASPxButton ID="btnCancel" runat="server" Text="Назад" SkinID="Red" />
            </div>
        </td>
    </tr>
</table>
<dx:ASPxCallback ID="clbkSave" runat="server" />
